@import "constant";

.main-container{
  margin-bottom: 56px;
}

img.img-responsive{
  max-width: 100%;
  max-height: 100%;
}

.empty{
  padding: 40px;
  text-align: center;
  color: #999999;
  font-size: 20px;
}

/* ========== rewrite muse ui ============ */
.mu-carousel{
  height: 300px;
  margin-bottom: 10px;

  .mu-carousel-item>img{
    width: 100%;
  }
}
.mu-infinite-scroll{
  height: auto;
}

/* ========== upload ============ */
$upload-block-size: 100;
.dol-upload-block{
  width: $upload-block-size + px;
  height: $upload-block-size + px;
  border-radius: 6px;
  border: 1px solid $borderColor5;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin:8px;

  > div.dol-upload-img-panel{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  &.dol-upload-add{
    text-align: center;
    overflow: hidden;

    i.mu-icon{
      line-height: $upload-block-size - 2 + px;
      font-size: $upload-block-size / 2 + px;
      color: $fontColor3
    }

    input[type="file"]{
      position: absolute;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      opacity: 0;
    }
  }

  .dol-upload-remove{
    width: 24px;
    height: 24px;
    position: absolute;
    top: -12px;
    right: -12px;
    text-align: center;
    background: #333;
    border-radius: 50%;
    color: #fff;
    opacity: 0.7;

    i.mu-icon{
      font-size:20px;
      line-height: 22px;
    }
  }

  div.mu-loading-wrap{
    background-color:rgba(255, 255, 255, 0.6) !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.dol-load-info{
  text-align: center;
  color: $fontColor3;

  &.dol-load-loading-info{
    color: #333;
    font-size: 20px;
  }
}
